//
//  XMMyOrderView.h
//  XMJJ_zml
//
//  Created by 丁浩 on 2025/5/26.
//

#import "XMBaseView.h"

NS_ASSUME_NONNULL_BEGIN

@protocol XMMyOrderViewDelegate <NSObject>

- (void)topTabSelect:(NSString *)selectStr;  //1我买的 2我卖的
- (void)statusSelectIndex:(NSString *)selectStr; //状态 0全部，10等付款，20待见面，30见面中，40待评价，50退款售后
- (void)refreshData;
- (void)loadMore;

- (void)funcActionWithPosiType:(NSInteger)posiType
                   orderStatus:(NSString *)orderStatus
                       orderId:(NSString *)orderId   //订单列表的订单id （一次下单多个见面生成多个订单生成新的id）
                    orderOrgId:(NSString *)orderOrgId   //下单生成的id
                     serviceId:(NSString *)serviceId
                      refundId:(NSString *)refundId
                         price:(NSString *)priceStr; //功能项

- (void)funcActionWithPosiType:(NSInteger)posiType
                    orderModel:(NSArray *)orderModelArr; //功能项
- (void)chatOrderDetailWithOrderId:(NSString *)orderId
                       orderStatus:(NSString *)orderStatus;

@end

@interface XMMyOrderView : XMBaseView

@property (nonatomic, weak) id<XMMyOrderViewDelegate>delegate;

- (void)setContentWithOrderList:(NSArray *)orderList
                      buyOrShow:(NSString *)buyOrShow
                           page:(NSInteger)page;

@end

NS_ASSUME_NONNULL_END
